home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 2
/
Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso
/
Aminet
/
gfx
/
misc
/
lise20.lha
/
lise2.0
/
mdl
/
src
/
nonsense.mdl
< prev
next >
Wrap
Text File
|
1993-03-31
|
2KB
|
60 lines
NAME{NonSense}
SIZE{480,280,5}
LANGUAGE{c:csh -n}
NEW_MENU{File}
MENU{dont load}
{
a=$STRINGBOX
echo $a not loaded
}
MENU{save nothing}{echo nothing saved}
MENU{exit}{$EXIT}
NEW_MENU{extras}
MENU{test1}{!echo "hallo"}
MENU{get fileselect}
{
a=$FILESELECT
echo you selected $a
}
NEW_MENU{help}
MENU{whodidit}
{
echo "This is a demo program for the menu description language mdl."
echo "mdl and this demo are written by"
echo " Rainer Kowallik"
echo "Give Amiga power to UNIX and UNIX power to the Amiga"
}
MENU{about mdl}
{
echo "mdl is the Menu Description Language for UNIX."
echo "This was designed to keep the programmers head free of"
echo "all the time consuming Xwindow toolkit and motif overhead,"
echo "without having users complaining that the MacIntosh and Amiga"
echo "are so much more comfortable. Of course, such approach can"
echo "not cover 100% of all cases, but you will be able to solve"
echo "about 70% of the problems with this method, leaving the"
echo "rest to the decreasing intelligence of the user."
echo "Stupidity should be punished anyway."
echo "for more information read /src/mdl/mdl.doc"
}
MENU{read doc}{runback c:ed mdl.doc}
NEW_MENU{. by RAKO}
TOGGLE{20,20,toggle button}{tog}
PUSH{260,20,show toggle}{echo status is $tog }
FILE_SELECT{15,40,file}{source}{echo you selected file: $source}
SELECTION{260,40,item,nr.1,nr.2,nocheins,undmehr,noch mehr,schluss}
{destination}{echo selection is: $destination}
SCALEX{20,180,x-scale,0,100}{xsc}
PUSH{260,180,show x-scale}{echo x-scale = $xsc }
STRING_BOX{20,220,string-box}{strbo}{echo "you typed: $strbo"}
PUSH{260,220,show string}
{
a=$strbo
echo "String = $a"
}
PUSH{20,260,set string}
{
a=$STRINGBOX
echo "SET strbo $a"
}